home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / keyb / otto14.zip / OTTO.DOC < prev    next >
Text File  |  1993-01-19  |  28KB  |  669 lines

  1.     
  2.                    ╔══════════════════════╗
  3.                    ║   Welcome to Otto!   ║
  4.                    ║   Ver 1.4   1/19/93  ║
  5.                    ║   (c) 1993 RSE Inc   ║
  6.                    ╚══════════════════════╝
  7.  
  8. Otto lets you automate a wide variety of tasks.  I created it to help me 
  9. take advantage of Compuserve's new basic features but it can be used for 
  10. virtually anything.  
  11.  
  12. If you use "Autosig" as your communications program you can see for 
  13. yourself what Otto can do.  Use any ASCII editor to edit the first few 
  14. lines of "DOALL" to reflect what subdirectory AUTOSIG.EXE resides in.  
  15. Then enter "otto doall" at the DOS prompt.  (If for any reason you want 
  16. to abort the process press both shift keys at the same time)  Otto will 
  17. send out your e-mail (if you have any), gather your e-mail, get some 
  18. stock quotes, get the latest news and sport scores, download some weather 
  19. maps, and get the latest weather forecast.  And Otto can do all this 
  20. unattended at 5 AM so its all waiting for you when you wake up! 
  21.  
  22. Although this "DOALL" script only works for users of "Autosig", later on 
  23. we will discuss how you can modify "DOALL" to work with your 
  24. communications program.  And of course we will discuss how you can create 
  25. your own scripts thereby automating virtually any task! 
  26.  
  27. The bad news is Otto uses scripts.  If you've tried writing scripts 
  28. before you know what a pain it can be.  The *good* news is that Otto has 
  29. just a few simple script commands making it very easy to learn and use.  
  30. The *GREAT* news is that Otto also has a script recorder that creates 
  31. scripts on the fly as you go about doing the task you want to automate!  
  32. It records what you're doing as you're doing it.  Once Otto creates the 
  33. script you can go back and edit it to make any desired changes.  Sure 
  34. beats trying to create scripts from scratch. 
  35.  
  36. Some of you may be familiar with our "Playback" program which is also a 
  37. task automator.  Playback records your keystrokes with the delays intact 
  38. and lets you turn these "keyfiles" into small .COM programs.  You can 
  39. playback they keyfiles via hot key, from the DOS prompt, from the MENU 
  40. program or at some specified times.  The MENU program also lets you add 
  41. notes to your keyfiles, adjust their playback, edit them and much more.  
  42. But the point is Playback makes it's decisions on when to stuff 
  43. keystrokes based on the delays between keystrokes. 
  44.  
  45. On the other hand, Otto bases its decisions primarily on what appears on 
  46. the screen.  This is good for situations where the delays between 
  47. keyboard inputs may vary from use to use (like using your modem).  On the 
  48. other hand, since you can only read text from a text screen, Otto works 
  49. best when the application you're using is text based and not graphics 
  50. based.  On the plus side, Otto can incorporate decision making whereas 
  51. Playback can't.  For example if you try to log-on but the line is busy, 
  52. Otto can have the program re-dial instead of pressing ahead as tho the 
  53. connection had been made.  If Otto doesn't fit your needs chances are 
  54. Playback will.  You can find Playback in Library 3 of Compuserve's IBMSYS 
  55. forum with the name PB??.EXE with ?? being the latest version number.
  56.  
  57. == How Much? ==
  58.  
  59. Otto is shareware.  As such you are given the program without obligation 
  60. in order to evaluate it.  If after a 3 week evaluation you decide to 
  61. continue using it then you are obligated to become a registered user.  
  62. You register by sending $30 + $1 shipping (add $1 for 3.5 disk, 
  63. $5 for overseas orders) to: 
  64.  
  65.  Otto                │  Visa or MC customers:       │  Modem-It! to:
  66.  1157 57th Drive SE  │  call or FAX (206) 939-4105  │  (206) 939-2312
  67.  Auburn, WA 98002    │  Compuserve: 72371,1557      │  Product ID: OT
  68.  
  69. (Modem-It! (tm) is a free program that lets you use your modem to easily 
  70. place orders 24 hours a day with any participating merchant.  Look for it 
  71. on any bulletin board.) 
  72.  
  73. As a registered user you'll get the following additional benefits: 
  74.  
  75.       1. Technical support and the latest version of Otto.
  76.  
  77.       2. The unregistered versions of some of our other shareware 
  78.          programs including Playback, Nabbit, FileNotes, Remind Me!, 
  79.          Trash-It, BriteLine, and others. 
  80.  
  81.       3. No more "please register" messages.
  82.  
  83. Because Otto is shareware you're encouraged to give copies of it to 
  84. others as long as you don't modify the program or these instructions and 
  85. you don't charge for the copies.  The only exception to the last rule is 
  86. for shareware vendors who may charge a reasonable distribution fee. 
  87.  
  88. Those using Playback in a commercial or educational environment must 
  89. register.  Site licenses are available, as well as quantity discounts.  
  90.  
  91. == Getting Started ==
  92.  
  93. * Put OTTO.COM in one of the subdirectories listed in the PATH statement in 
  94.   your AUTOEXEC.BAT file.
  95.  
  96. === Creating your own scripts ===
  97.  
  98. == Definitions: ===
  99.  
  100. The following symbols are used in the format description of the various 
  101. commands:
  102.  
  103. {alt-3}         This signifies the character that appears when you hold 
  104.                 down the Alt key and press three.  Don't put the brackets 
  105.                 or the description in your scripts, just the character 
  106.                 that appears when you press the keys within the { } at 
  107.                 the same time.
  108.  
  109. [message]       specifies data that appears on the screen.  Must be 
  110.                 enclosed quotes. 
  111.  
  112. [delay]         delay in seconds
  113.  
  114. [evaluator]     must be either "=" or "<>"
  115.  
  116. [label]         specifies a location in the script.  Must be less than 
  117.                 eight characters long and be enclosed within "*"s.  For 
  118.                 example: *GetMail* 
  119.                              
  120. [location]      You tell Otto where on the screen to look for a message 
  121.                 in a variety of ways.  If you specify "cursor" then Otto 
  122. looks for the message directly in front of the cursor.  For example if 
  123. your screen looks like this: 
  124.  
  125.   Enter Name: _
  126.  
  127. then the cursor message could be "Enter Name: ", "Name: ", ": ", or even 
  128. " ".  Notice I always included the space right in front of the cursor.  
  129. Therefore the command: 
  130.  
  131.   waitfor cursor "Name: " 
  132.  
  133. would wait until "name: "appears directly before the cursor.  The 
  134. uppercase/lowercase status of the message is irrelevant as the "message" 
  135. comparison is case insensitive. 
  136.  
  137. You can also specify the message location by screen location.  Enclose 
  138. the coordinates in ROW,COLUMN format within ().  For example: 
  139.  
  140.   waitfor (4,0) "City: "        
  141.  
  142. would wait until "City: " appears at row 4, column 0. 
  143.  
  144. Both rows and columns begin at 0, therefore the upper left corner of the 
  145. screen would be (0,0).  If you're more comfortable using COLUMN, ROW 
  146. than ROW, COLUMN then use DEBUG to change byte 0F hex of OTTO.COM to a 
  147. value of 1. 
  148.  
  149. You can also specify message location in offsets from the cursor 
  150. location.  You do this by specifying + or - for values that are to be 
  151. cursor offsets.  For example:
  152.  
  153.   waitfor (-1,+2) "message"
  154.  
  155. would wait until "message" appeared at cursor row -1 and cursor column 
  156. +2.  You MUST use a +  or - to signify an offset.  Let's say you want to 
  157. specify the message location as the same column as the cursor but two 
  158. rows up.  You would use (-2,+0).  If you used (-2,0) then Otto would look 
  159. two rows up but at column 0 since the lack of a + or - on the 0 
  160. signifies the 0 is an absolute location.  Make sure you understand the 
  161. following examples: 
  162.  
  163. (3,1)      Row 3, Column 1
  164. (0,-3)     Row 0, Cursor column-3
  165. (+0,-3)    Cursor row, Cursor column-3
  166. (-1,-2)    Cursor row-1, Cursor column-2
  167. (+2,3)     Cursor row+2, Column 3
  168.  
  169. == Some ground rules ==
  170.  
  171. * Otto only looks at the first letter of each command.  Therefore the 
  172.   command:  waitfor cursor "message"
  173.   could be abbreviated to:  w c "message"
  174.  
  175. * You must leave a space between each component of the message:
  176.  
  177.   w c "message"  ;would be correct
  178.   wc "message"   ;would generate an error. 
  179.  
  180. * Use only one command per line, except for " ; " which allows you to add